<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page isELIgnored="false" %>
<%
    String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
    <meta http-equiv="description" content="This is my page"/>

    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/base.css"/>

    <link href="${pageContext.request.contextPath}/static/css/daoke.css" rel="stylesheet" type="text/css"/>

    <link href="${pageContext.request.contextPath}/static/css/iconfont.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">

    </script>
</head>

<BODY leftMargin=9 topMargin=9 bgColor=#ffffff>

<c:forEach items="${registerByUserList}" var="register" varStatus="status">
    <fieldset style="width:95%; margin-left:5px;">
        <legend class="fieldtitle"><i class="iconfont icon-yonghuming font16" style="font-size: 18px;">我的挂号信息</i></legend>
        <form action="${pageContext.request.contextPath}/register/deleteRegiser.html" name="111" method="post">
            <table class="bill" width="97%" cellpadding="3" cellspacing="3">
                <tr style="height: 30px;">
                    <td style="font-size: 16px;">挂号专家：${register.expertBO.name}</td>
                </tr>
                <tr style="height: 30px;">
                    <td style="font-size: 16px;">挂号时间：${register.createTime}</td>
                </tr >
                <tr style="height: 30px;">
                    <td style="font-size: 16px;">所患疾病：${register.disease}</td>
                </tr>
                <tr style="height: 30px;">
                    <td style="font-size: 16px;">你的姓名：${register.name}</td>
                </tr>
                <tr style="height: 30px;">
                    <td style="font-size: 16px;">
                        联系方式：${register.tel}
                        <input type="hidden" name="id" value="${register.id}">
                        <input type="submit" value="取消挂号" style="width: 80px;height: 30px;box-sizing: border-box; border-radius: 5px;font-size: 16px;" />
                    </td>
                </tr>
            </table>
        </form>
    </fieldset>
    <br/>
</c:forEach>
</BODY>
</html>
